package com.example.demo2.Controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * 测试springboot支持jsp
 *
 * @author ml
 * @create 2017-05-22--14:10
 */
@Controller
public class IndexController {
    /**
     *@author: ml
     *@description:
     *@params:  * @param
     *@date:14:12 2017-05-22
     */

    @RequestMapping(value = "/index",method = RequestMethod.GET)
    public String index(){


        return "index";
    }
}
